package model;

import java.io.Serializable;

import com.mongodb.BasicDBObject;


public class FiyatiNeydi extends BasicDBObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String _id;
	private String urun;
	private String market;
	private String user;
	private double fiyat;
	
	
	
	public String getUrun() {
		return urun;
	}
	public void setUrun(String urun) {
		this.urun = urun;
	}
	public String getMarket() {
		return market;
	}
	public void setMarket(String market) {
		this.market = market;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public double getFiyat() {
		return fiyat;
	}
	public void setFiyat(double fiyat) {
		this.fiyat = fiyat;
	}
	

	public FiyatiNeydi(String urun, String market, String user, double fiyat) {
		super();
		this.urun = urun;
		this.market = market;
		this.user = user;
		this.fiyat = fiyat;
	}
	

	public FiyatiNeydi(String _id, String urun, String market, String user, double fiyat) {
		super();
		this._id=_id;
		this.urun = urun;
		this.market = market;
		this.user = user;
		this.fiyat = fiyat;
	}
	
	
	public FiyatiNeydi() {
		super();
	}
	public String get_id() {
		return _id;
	}
	public void set_id(String _id) {
		this._id = _id;
	}
	
	
	
}
